import { VuexModule, Module, Mutation, Action, getModule } from 'vuex-module-decorators'
import store from '@/store'

export interface IUserState {
  profilePicture: string
  name: string
  wxId: string
  uuid:string
}



@Module({ dynamic: true, store, name: 'user' })
class User extends VuexModule implements IUserState {
  public profilePicture = "https://github.com/zjko/img-bed/blob/master/common/logo.jpeg?raw=true"
  public name = "zjko"
  public wxId = "zjko_wx"
  public uuid = "1234"



}

export const UserModule = getModule(User)
